var express = require('express');
var router = express.Router();

var UserModel = require('../schema/user');

router.post('/', function(req, res, next) {
	console.log(req.body);
  console.log(req.session);
  UserModel.saveUser(req.body);
  
  res.send('singup');
});

module.exports = router;